package com.cdtye.itps.cms.dao.summary.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import com.cdtye.common.webcore.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 汇总综合表
 * @author Jchen
 * @date 2021-09-24
 */
@ApiModel("汇总综合表")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("JCJC_EVALAUATION_SUMMARY")
public class JcjcEvalauationSummary extends BaseEntity {
    
    @ApiModelProperty(value = "供电段id")
    private String deptId;

    @ApiModelProperty(value = "线路id")
    private String lineId;

    @ApiModelProperty(value = "年月格式yyyy-mm")
    @DateTimeFormat(pattern = DateUtil.DATETIME_FORMAT)
    @JSONField(format = DateUtil.DATETIME_FORMAT)
    private Date testDate;

    @ApiModelProperty(value = "优秀")
    private int excellentNum;

    @ApiModelProperty(value = "否优秀")
    private int nexcellectNum;

    @ApiModelProperty(value = "优秀率")
    private Double excellectRate;

    @ApiModelProperty(value = "CDI得分")
    private int scoreNum;

    @ApiModelProperty(value = "DCI不得分")
    private int nscoreNum;

    @ApiModelProperty(value = "CDI")
    private Double cdi;

    @ApiModelProperty(value = "导入id")
    private String importId;

    @ApiModelProperty(value = "删除标志")
    private String delFlag;

}